package xyz.riceball.develop.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.riceball.framework.core.bean.BaseDatePO;

/**
 * 辅助缓存 数据库实体
 *
 * @author xiaovcloud
 * @since 2022-07-02 10:58:37
 */
@ApiModel("辅助查询")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rb_assist_search")
public class AssistSearchPO extends BaseDatePO<AssistSearchPO> {
	/**
	 * 主键id
	 */
	@TableId
	@ApiModelProperty("主键id")
	private String id;
	/**
	 * 辅助查询编码
	 */
	@TableField(value = "code")
	@ApiModelProperty("辅助查询编码")
	private String code;
	/**
	 * 辅助缓存name
	 */
	@TableField(value = "name")
	@ApiModelProperty("辅助查询名称")
	private String name;
	/**
	 * 辅助查询sql
	 */
	@TableField(value = "search_table")
	@ApiModelProperty("辅助缓存sql")
	private String searchTable;
	/**
	 * 展示字段
	 */
	@TableField(value = "show_field")
	@ApiModelProperty("展示字段")
	private String showField;
	/**
	 * 条件
	 */
	@TableField(value = "key_field")
	@ApiModelProperty("条件")
	private String keyField;

}
